package net.maku.propagate.entity;

import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import net.maku.framework.mybatis.entity.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 宣传教育
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-16
 */

@Data
@TableName(value = "propagate_education",autoResultMap = true)
public class PropagateEducationEntity extends BaseEntity {
	/**
	* id
	*/
	@TableId
	private Long id;

	/**
	* 工会ID
	*/
	private Long orgId;
	/**
	 * 可见工会
	 */
	@TableField(typeHandler = JacksonTypeHandler.class)
	private List<Long> visibleOrg;
	/**
	 * 封面图
	 */
	private String surfacePlot;

	/**
	* 标题
	*/
	private String title;

	/**
	* 课程内容
	*/
	private String educationContent;

	/**
	* 课程分类
	*/
	private Integer courseClassification;

	/**
	* 阅读量
	*/
	private Long readingQuantity;

	/**
	* 点赞量
	*/
	private Long upvoteQuantity;

	/**
	* 收藏量
	*/
	private Long favoriteQuantity;

	/**
	* 评论量
	*/
	private Long commentQuantity;

	/**
	* 状态  0：停用   1：正常
	*/
	private Integer status;

	/**
	* 租户ID
	*/
	private Long tenantId;


}